#ifndef _EXTSLICE_H_
#define _EXTSLICE_H_
#include "ast/sliceType.h"
#include "ast/sliceType.h"
#include "AstTypes.h"
class IVisitor;
class ExtSlice;
typedef QSharedPointer<ExtSlice> ExtSlicePtr;

class ExtSlice: public sliceType
{
public:
    explicit ExtSlice(const SliceTypeList& dims, int nodeId=-1);
    virtual ~ExtSlice();
    
    
    SliceTypeList dims();
    void setDims(const SliceTypeList& dims);
    
    
    virtual Ast::AstTypes type() const;
    virtual QString toString() const;
    virtual void accept(IVisitor* visitor, const SimpleNodePtr& node);
    virtual void traverse(IVisitor* visitor);
private:
    SliceTypeList _dims;
};




#endif